local tandoori_roast_chicken = fk.CreateSkill {
  name = "cf_tandoori_roast_chicken_skill",
}

Fk:loadTranslationTable {
  ["cf_tandoori_roast_chicken_skill"] = "唐杜尔烤鸡",
  ["#cf_tandoori_roast_chicken_skill"] = "对一名角色使用，你与其下次造成的无实体牌的伤害+2并饱腹",
  ["@@cf_tandoori_roast_chicken_skill"] = "唐杜尔烤鸡",
}

tandoori_roast_chicken:addEffect("cardskill", {
  prompt = "#cf_tandoori_roast_chicken_skill",
  target_num = 1,
  mod_target_filter = function(self, player, to_select, selected, card, extra_data)
    if player:getMark("@@cf_baofu-turn") > 0 then return nil end
    return to_select ~= player and to_select:getMark("@@cf_baofu-turn") == 0
  end,
  target_filter = Util.CardTargetFilter,
  on_effect = function(self, room, effect)
    local from = effect.from
    local to = effect.to
    if to.dead or from.dead then return end
    room:addPlayerMark(from, "@@cf_tandoori_roast_chicken_skill")
    room:addPlayerMark(from, "@@cf_baofu-turn")
    room:addPlayerMark(to, "@@cf_tandoori_roast_chicken_skill")
    room:addPlayerMark(to, "@@cf_baofu-turn")
    if room:hasSkill("cf_tandoori_roast_chicken_continue_skill") then return end
    room:addSkill("cf_tandoori_roast_chicken_continue_skill")
  end
})

return tandoori_roast_chicken
